﻿using CTP.CRM.Core.Common.Enums;

namespace CTP.CRM.Repository.Employee.ValueObjects
{
    /// <summary>
    /// 员工
    /// </summary>
    public class EmployeeLoginValueObject
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? UserId { get; set; }

        /// <summary>
        /// 员工ID
        /// </summary>
        public int EmployeeId { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string? EmployeeCode { get; set; }

        /// <summary>
        /// 员工名称
        /// </summary>
        public string? EmployeeName { get; set; }

        /// <summary>
        /// 部门id
        /// </summary>
        public int? DeptId { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>

        public string? DeptName { get; set; }

        /// <summary>
        /// 员工英文名
        /// </summary>
        public string? EnName { get; set; }

        /// <summary>
        /// 岗位名称Id
        /// </summary>
        public int? PositionId { get; set; }

        /// <summary>
        /// 岗位名称
        /// </summary>
        public string? PositionName { get; set; }

        /// <summary>
        /// 公司Id
        /// </summary>
        public int? CompanyId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string? CompanyName { get; set; }

        /// <summary>
        /// 在职状态
        /// </summary>
        public JobStatus JobStatus { get; set; }

        /// <summary>
        /// 是否主岗位
        /// </summary>
        public bool IsMasterPosition { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
